#define header(nickname,navs)
#set(baseHref="/")
#if(nickname!="EDAOE")
    #set(baseHref="/"+nickname+"/")
#end

<header class="header">
    <div class="header-container">
        <div class="header-logo">
            <a href="#(baseHref)">#(nickname)</a>
        </div>
        <nav>
            #for(nav:navs)
                <a href="#(baseHref)#(nav)">#(nav)</a>
            #end
        </nav>
    </div>
</header>
#end